Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 6 - Sequence Grabber Channel Components / Sequence Grabber Channel Components Reference
Functions / Configuration Functions for All Channel Components


SGGetChannelSampleDescription

The SGGetChannelSampleDescription function allows the sequence grabber to retrieve your channel's sample description.

pascal ComponentResult SGGetChannelSampleDescription 
                                 (SGChannel c, Handle sampleDesc);
c
Identifies the channel connection for this operation.
sampleDesc
Specifies a handle that is to receive your sample description.
DESCRIPTION
The SGGetChannelSampleDescription function allows the sequence grabber to retrieve your channel's current sample description. The sequence grabber may call this function only when your channel is prepared to record or is actually recording.

Your channel returns a sample description that is appropriate to the type of data being captured. For video channels, your channel component returns an Image Compression Manager image description structure; for sound channels, you return a sound description structure, as defined by the Movie Toolbox.

RESULT CODE
cantDoThatInCurrentMode-9402Request invalid in current mode

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help